package com.cake.liulanxiangzhu.pojo.dto;

import com.cake.liulanxiangzhu.pojo.entity.OmsOrderItem;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class CartDTO {

    List<OmsOrderItem> entities;

    @NotNull(message = "未选择收货地址")
    private Integer id;

    @NotBlank(message = "必须选择预约时间")
    private String gmtAppointment;

}
